package com.cpfmat.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.UpdateProvider;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.cpfmat.entity.ContentUser;
import com.cpfmat.entity.provider.ContentUserProvider;

public interface ContentUserMapper extends BaseMapper<ContentUser> {
	@UpdateProvider(type = ContentUserProvider.class, method = "update")
	int customUpdate(ContentUser user);
	
	long countAllList(Map<String, Object> param);

	List<ContentUser> getAllList(Map<String, Object> param);
	
	long countList(Map<String, Object> param);

	List<ContentUser> getList(Map<String, Object> param);
	
	ContentUser getObjectById(@Param("seqId") String seqId);
}
